﻿#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QTimer>

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);
//    QTimer* pTimer = new QTimer(this);
//    connect(pTimer,&QTimer::timeout,[=]()
//    {
//        if (m_dbAngle >= 100){
//            m_dbAngle = 0;
//        }
//        ui->process->setNum(m_dbAngle);
//        m_dbAngle += 1;
//    });
//    pTimer->setInterval(100);
//    pTimer->start();
    ui->process->setNum(30);
}

MainWindow::~MainWindow()
{
    delete ui;
}

